package com.song.tools.songtest.beans.request;

import com.song.tools.mvc.request.SuperQueryRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表查询请求体
 * </p>
 *
 * @author song tools
 * @since 2024-07-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(title = "SysUserQueryRequest", description = "用户表查询请求体")
public class SysUserQueryRequest extends SuperQueryRequest {

    @Serial
    private static final long serialVersionUID = -1;

    /**
     * 用户账号
     */
    @Schema(title = "loginAccount", description = "用户账号")
    private String loginAccount;
    /**
     * 用户名称
     */
    @Schema(title = "username", description = "用户名称")
    private String username;
    /**
     * 头像
     */
    @Schema(title = "profilePhoto", description = "头像")
    private String profilePhoto;
    /**
     * 性别:1=男,0=女
     */
    @Schema(title = "sex", description = "性别:1=男,0=女")
    private Integer sex;
    /**
     * 年龄
     */
    @Schema(title = "age", description = "年龄")
    private Integer age;
    /**
     * 出生日期-起始
     */
    @Schema(title = "birthdayStart", description = "出生日期-起始")
    private LocalDateTime birthdayStart;
    /**
     * 出生日期-截止
     */
    @Schema(title = "birthdayEnd", description = "出生日期-截止")
    private LocalDateTime birthdayEnd;
    /**
     * 电话
     */
    @Schema(title = "phone", description = "电话")
    private String phone;
    /**
     * 邮箱
     */
    @Schema(title = "email", description = "邮箱")
    private String email;
    /**
     * 状态:1=启用,0=禁用
     */
    @Schema(title = "status", description = "状态:1=启用,0=禁用")
    private Integer status;
    /**
     * 备注
     */
    @Schema(title = "remark", description = "备注")
    private String remark;
    /**
     * 创建人用户名
     */
    @Schema(title = "createUsername", description = "创建人用户名")
    private String createUsername;
    /**
     * 创建时间-起始
     */
    @Schema(title = "createTimeStart", description = "创建时间-起始")
    private LocalDateTime createTimeStart;
    /**
     * 创建时间-截止
     */
    @Schema(title = "createTimeEnd", description = "创建时间-截止")
    private LocalDateTime createTimeEnd;
    /**
     * 更新人用户名
     */
    @Schema(title = "updateUsername", description = "更新人用户名")
    private String updateUsername;
    /**
     * 更新时间-起始
     */
    @Schema(title = "updateTimeStart", description = "更新时间-起始")
    private LocalDateTime updateTimeStart;
    /**
     * 更新时间-截止
     */
    @Schema(title = "updateTimeEnd", description = "更新时间-截止")
    private LocalDateTime updateTimeEnd;
}
